package com.nerve.secondhandcar.service;

import java.util.List;

import org.ko.core.websupport.page.Page;

import com.nerve.secondhandcar.domain.Brand;

/**
 * 平台中的汽车品牌Service接口
 * @author 集成显卡
 * @version 2014-10-09 17:26:50
 */
public interface BrandService {
	Page findPage(Page p,String searchText);
	Brand addDo(Brand bean);
	Brand editDo(Brand bean);
	Brand get(Long id);
	void delete(Long[] ids);
	List findTree(String searchText);
	List findAuthBrands();
	boolean changeParent(Long id, Long pid);
	
	/**
	 * 
	 * @method name: findForSelect
	 * @return type: void
	 *	@param model
	 *	@throws Exception
	 */
	public List<Brand> findForSelect()throws Exception;
}